package com.iot.inter.entity.newpojo.response.subResponse.common;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

/**
 * 3.2	批量获取拥有的设备信息:
 * 每个device节点中包含一个设备信息；
 * 在响应报文中出现的device节点数量要求与device_num取值相同。
 * 若ret_info=0000,该节点信息存在；
 *
 * @author lm
 * @date 2019/7/24
 */

@Setter
@Getter
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "device")
public class BatchDeviceRealTime implements Serializable {

    @XmlElement(name = "device_id")
    private String deviceId;

    @XmlElement(name = "ota_flag")
    private String otaFlag;

    @XmlElement(name = "bip_flag")
    private String bipFlag;

    @XmlElement(name = "multiImsi_flag")
    private String multiImsiFlag;

    @XmlElement(name = "lifecycle")
    private String lifecycle;

    @XmlElement(name = "lifecycle_start_time")
    private String lifecycleStartTime;

    @XmlElement(name = "lifecycle_end_time")
    private String lifecycleEndTime;

    @XmlElement(name = "lifecycle_slient_period")
    private String lifecycleSlientPeriod;

    @XmlElement(name = "lifecycle_shutdown_period")
    private String lifecycleShutdownPeriod;

    @XmlElement(name = "package_order")
    private List<BatchDeviceRealTimePackageOrder> package_order;
}
